From: Florian Müllner Date: Tue, 5 Dec 2023 17:10:34 +0000 (+0100) Subject: st/bin: Fix height request X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~263 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c8dae246457876d0a6a66f816347be9a47ce4378;p=gnome-shell.git st/bin: Fix height request The request currently mixes up y-align and x-align. Part-of: --- diff --git a/src/st/st-bin.c b/src/st/st-bin.c index a10510821..9dc329120 100644 --- a/src/st/st-bin.c +++ b/src/st/st-bin.c @@ -165,7 +165,7 @@ st_bin_get_preferred_height (ClutterActor *self, } else { - ClutterActorAlign x_align = clutter_actor_get_y_align (priv->child); + ClutterActorAlign x_align = clutter_actor_get_x_align (priv->child); _st_actor_get_preferred_height (priv->child, for_width, x_align == CLUTTER_ACTOR_ALIGN_FILL,